package com.ruoyi.ui.mapper;

import java.util.List;

import com.ruoyi.ui.domain.UiCategory;
import com.ruoyi.ui.domain.UiShops;

/**
 * 店铺Mapper接口
 * 
 * @author ruoyi
 * @date 2022-09-06
 */
public interface UiShopsMapper 
{
    /**
     * 查询店铺
     * 
     * @param shopId 店铺主键
     * @return 店铺
     */
    public UiShops selectUiShopsByShopId(Long shopId);

    /**
     * 查询店铺列表
     * 
     * @param uiShops 店铺
     * @return 店铺集合
     */
    public List<UiShops> selectUiShopsList(UiShops uiShops);

    /**
     * 新增店铺
     * 
     * @param uiShops 店铺
     * @return 结果
     */
    public int insertUiShops(UiShops uiShops);

    /**
     * 修改店铺
     * 
     * @param uiShops 店铺
     * @return 结果
     */
    public int updateUiShops(UiShops uiShops);

    /**
     * 删除店铺
     * 
     * @param shopId 店铺主键
     * @return 结果
     */
    public int deleteUiShopsByShopId(Long shopId);

    /**
     * 批量删除店铺
     * 
     * @param shopIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUiShopsByShopIds(Long[] shopIds);





    UiShops getOne(Long categoryId);
    List<UiShops> getAll();
}
